(Ambiya') 21 : 74
وَلُوطًا آتَيْنَاهُ حُكْمًا وَعِلْمًا وَنَجَّيْنَاهُ مِنَ الْقَرْيَةِ الَّتِي كَانَتْ تَعْمَلُ الْخَبَائِثَ ۗ إِنَّهُمْ كَانُوا قَوْمَ سَوْءٍ فَاسِقِينَ
And to Looth We gave Wisdom and Knowledge, and We saved him from the city that was committing wicked deeds; indeed, they were the worst transgressed people.
Wisdom and Knowledge are two among the 40 names of Adhikr. The people of Messenger Looth are denoted as Mujirim people as explained in verse 15: 58. People of Sod and Gammorah were indulged in satanic deeds like sodomy, rape, theft, murder, etc. as explained in verse 11: 78. Today, Arabic Quran reading Fujjar are denoted as the worst among 1000 communities of creatures as explained in verse 8: 22. I.e. they can not be even considered as human beings. See explanation 9: 67-68; 11: 77-83; 17: 13-14 and 20: 124-127.